package com.example.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.blog.pojo.Comment;
import com.example.blog.pojo.Result;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

public interface CommentService extends IService<Comment> {
    Result<T> saveComment(Comment comment, int id, String token);
    Result<List<Comment>> getComment(int id);

    Result<List<Comment>> getNewComment();
}
